package com.zj.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/*4.创建springmvc的配置文件  加载controller对应的bean*/
@Configuration
@ComponentScan("com.zj.controller")
@EnableWebMvc //自动转换json数据的支持
public class SpringMvcConfig {

}
